package com.yanfan.energy.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.util.Date;

/**
 * @Author huan
 * @Description 订单管理导出 excel 模板
 * @ClassName 2023年01月11日 14:34:00
 * @Version 1.0
 **/
@ColumnWidth(15)
public class DispatchListHead {
    /**
     * 工单编号
     */
    @ExcelProperty(value = "工单编号")
    private String number;
    /**
     * 工单标题
     */
    @ExcelProperty(value = "工单标题")
    private String title;
    /**
     * 状态（1、待处理，2、处理中、3、已完成）
     */
    @ExcelProperty(value = "状态", converter = DispatchListStateConverter.class)
    private Long state;
    /**
     * 问题分类名称
     */
    @ExcelProperty(value = "问题分类名称")
    private String matterName;
    /**
     * 问题描述
     */
    @ExcelProperty(value = "问题描述")
    private String matterDescribe;
    /**
     * 催单次数
     */
    @ExcelProperty(value = "催单次数")
    private Long reminder;
    /**
     * 处理人
     */
    @ExcelProperty(value = "处理人")
    private String conductor;
    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createdBy;
    /**
     * 添加时间 （创建时间）
     */
    @ExcelProperty(value = "添加时间", converter = DateConverter.class)
    private Date addDate;


    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public String getMatterName() {
        return matterName;
    }

    public void setMatterName(String matterName) {
        this.matterName = matterName;
    }

    public String getMatterDescribe() {
        return matterDescribe;
    }

    public void setMatterDescribe(String matterDescribe) {
        this.matterDescribe = matterDescribe;
    }

    public Long getReminder() {
        return reminder;
    }

    public void setReminder(Long reminder) {
        this.reminder = reminder;
    }

    public String getConductor() {
        return conductor;
    }

    public void setConductor(String conductor) {
        this.conductor = conductor;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getAddDate() {
        return addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }
}
